/**
* _gtk_im_module_get_default_context_id:
- * @client_window: a window
*
* Return the context_id of the best IM context type
* for the given window.
* Returns: the context ID (will never be %NULL)
*/
const gchar *
-_gtk_im_module_get_default_context_id (GdkWindow *client_window)
+_gtk_im_module_get_default_context_id (void)
{
GSList *tmp_list;
const gchar *context_id = NULL;
void _gtk_im_module_list (const GtkIMContextInfo ***contexts,
guint *n_contexts);
GtkIMContext * _gtk_im_module_create (const gchar *context_id);
-const gchar * _gtk_im_module_get_default_context_id (GdkWindow *client_window);
+const gchar * _gtk_im_module_get_default_context_id (void);
G_END_DECLS
return priv->context_id_aux;
if (!global_context_id)
- global_context_id = _gtk_im_module_get_default_context_id (priv->client_window);
+ global_context_id = _gtk_im_module_get_default_context_id ();
return global_context_id;
}
GtkWidget *menuitem, *system_menuitem;
const char *system_context_id;
- system_context_id = _gtk_im_module_get_default_context_id (priv->client_window);
+ system_context_id = _gtk_im_module_get_default_context_id ();
system_menuitem = menuitem = gtk_radio_menu_item_new_with_label (group, C_("input method menu", "System"));
if (!priv->context_id_aux)
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menuitem), TRUE);